Preview - Coding Through Ecology - Bridges To Ct-Stem

Getting the wolf to move


  1. Scroll down the page and interact with the setup and go (play) button.
  2. Drag blocks over to tell the wolf and sheep how to behave. Anytime you make changes click on the "recompile" button followed by setup and go (play).
  3. Blocks can be used multiple times.
  4. Blocks can be dragged to the trash to take them out of the code.
  5. Your first challenge is to make the wolf move around the field.
  6. Work on the other challenges found at the bottom of the page.


Questions

Please answer the questions below.

Which blocks did you use to make the wolf move around the field? Choose all that apply.

wolf actions
wolf meets sheep
forward
left
right
pen down
pen up

Does the wolf look like it’s walking around the whole field or is just going in a straight line or circles? If the sheep aren't moving does the wolf get to all of them over time? Hint: Use the pen down block to have the wolf mark it's path.

The wolf is moving around in circles.
The wolf is moving in a straight line.
The wolf is only moving around on some of the field.
The wolf is moving around the whole field realistically.
The wolf isn't moving.

After you have gotten your wolf moving, spend time trying to figure out the best block combination needed to get more realistic wolf movement. Try changing the numbers found in some of the blocks. What is your ideal block combination for movement.


Challenge: See if you can get the wolf to draw a dashed line or another pattern. What blocks did you use?

wolf actions
wolf meets sheep
forward
left
right
pen down
pen up
hatch
die
ask nearby sheep
chance

What other types of behavior blocks would you add to make this a more realistic wolf and sheep predator/prey model?


Notes

These notes will appear on every page in this lesson so feel free to put anything here you'd like to keep track of.